package extreme.tddscaffold;

public class Commodity {

    public String name;

    public int sellIn;

    public int quantity;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSellIn() {
        return sellIn;
    }

    public void setSellIn(int sellIn) {
        this.sellIn = sellIn;
    }

    public int getquantity() {
        return quantity;
    }

    public void setquantity(int quantity) {
        this.quantity = quantity;
    }

    public Commodity(String name, int sellIn, int quantity) {
        this.name = name;
        this.sellIn = sellIn;
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return this.name + ", " + this.sellIn + ", " + this.quantity;
    }
}

